package reflect.test.test1;

import reflect.entity.BaseClass;

import java.io.Serializable;

/**
 * @version 1.0
 * @author:罗苏琴
 * @Date 2024/12/3 上午9:05
 */
public class Student extends BaseClass implements Serializable {
    private int id;//ID
    private int age;//年龄
    private String name;//姓名
    private String address;//地址
    private String gender;//性别



    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", age=" + age +
                ", name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }

    public Student() {
    }

    public Student(int id, int age, String name, String address, String gender) {
        this.id = id;
        this.age = age;
        this.name = name;
        this.address = address;
        this.gender = gender;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

}
